import { Toast } from 'vant'
export const MyNotify = ({ message, type }) => {
  if (type === 'warning') {
    Toast({
      message,
      type: 'fail'
    })
  } else if (type === 'success') {
    Toast({
      message,
      type
    })
  }
}
